import axios from "axios";
export default {
  // 请求接口示例
  getMusicList: (params) => {
    // 请求排行版
    return axios.get("/toplist", params);
  },

   // 歌曲列表前四条 http://localhost:3000/toplist/detail
   getTopList: (params) => {
    return axios.get("/toplist/detail", params);
  },

  //  请求歌手列表
   getSingerList: (params) => {
    return axios.get("/artist/list", params);
  },

  // http://localhost:3000/toplist/artist
  getArtistsList: (params) => {
    return axios.get("/toplist/artist", params);
  },

  // 评论
  getCommentsList: (params) => {
    return axios.get("/comment/playlist?id=705123491&limit=100", params);
  },
  // /personalized
  getPersonList: (params) => {
    return axios.get("/personalized", params);
  },
};
